package com.juzi.wopu.domain;

public class ShopResponse extends Shop{
	
	private String smallImgPath;//  封装以后的小图片
	
	private String shopType; // 封装商铺类型

	public String getSmallImgPath() {
		return smallImgPath;
	}

	public void setSmallImgPath(String smallImgPath) {
		this.smallImgPath = smallImgPath;
	}
	
	public String getShopType() {
		return shopType;
	}

	public void setShopType(String shopType) {
		this.shopType = shopType;
	}

	// 把商铺里面的字段封装到这里面来，这样可以取到关联表的值
	public ShopResponse(Shop shop){
		this.setiId(shop.getiId());
		this.setsName(shop.getsName());
		this.setsImgPath(shop.getsImgPath());
		this.setDtInsert(shop.getDtInsert());
		this.setiStatus(shop.getiStatus());
		this.setiCodeId(shop.getiCodeId());
		this.setiCompany(shop.getiCompany());
		this.setSysCode(shop.getSysCode());
	}
}
